<?php
class Categorymanager_Data_Insertcategorycontentvalues implements Categorymanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO category_content_values(category_name, category_title, category_description, category_content, category_image) VALUES('".$variables['post']['category_name']."', '".$variables['post']['category_title']."', '".$variables['post']['category_description']."', '".$variables['post']['category_content']."', '".$variables['post']['category_image']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
